﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebPaint.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Página sin título</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>WebPaint</h1>
        <p>
            Subir imagen:</p>
        <p>
            <asp:FileUpload ID="FileUpload1" runat="server" Width="448px" />&nbsp;<asp:RequiredFieldValidator
                ID="RequiredFieldValidator1" runat="server" ControlToValidate="FileUpload1" ErrorMessage="Debe incluir un archivo"
                ValidationGroup="fileupload">*</asp:RequiredFieldValidator></p>
        <p>
            <asp:Button ID="subirBtn" runat="server" OnClick="subirBtn_Click" Text="Subir" ValidationGroup="fileupload" />&nbsp;</p>
        <p>
            Imagen:</p>
        <asp:Image ID="Image1" runat="server" Height="450px"
            Width="450px" /><br />
        <br />
        <asp:Label ID="Label1" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
